package com.torry.edss.infras.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDate;
import com.torry.boot.starter.mybatisplus.base.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author torry.wang
 * @since 2025-05-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("data_center_market_overview")
@ApiModel(value="MarketOverviewDO对象", description="")
public class MarketOverviewDO extends Entity {

    private static final long serialVersionUID=1L;

    private LocalDate date;

    @ApiModelProperty(value = "上证指数")
    private BigDecimal price;

    @ApiModelProperty(value = "涨幅")
    private Double upValue;

    @ApiModelProperty(value = "上涨百分比")
    private Double upPercentage;

    @ApiModelProperty(value = "上涨数")
    private Integer upCount;

    @ApiModelProperty(value = "下跌数")
    private Integer downCount;

    @ApiModelProperty(value = "平盘数")
    private Integer fixedCount;

    @ApiModelProperty(value = "涨停数")
    private Integer limitUpCount;

    @ApiModelProperty(value = "跌停数")
    private Integer limitDownCount;

    @ApiModelProperty(value = "外资流入资金 单位 亿")
    private Double foreignCapital;

    @ApiModelProperty(value = "主力流入资金 单位 亿")
    private Double domesticCapital;

    @ApiModelProperty(value = "成交额 单位 亿")
    private Double transactionAmount;

    @ApiModelProperty(value = "连板率")
    private Double continuousPercentage;

    @ApiModelProperty(value = "封板率")
    private Double sealPercentage;

    @ApiModelProperty(value = "溢价率")
    private Double premiumPercentage;

    @ApiModelProperty(value = "核按钮")
    private Double nuclearPercentage;

    @ApiModelProperty(value = "最高连板")
    private Integer maxContinuousNum;

    @ApiModelProperty(value = "行情回顾")
    private String note;


}
